package model.expression.operator;

import java.util.List;

import model.expression.AbstractExpression;


public class PlusExpression extends AbstractBinaryOperatorExpression {

	public PlusExpression(List<AbstractExpression> children)
    {
        super(children);
    }
	
	@Override
	public int evaluate() {
		return this.children.get(0).evaluate()+this.children.get(1).evaluate();
	}

}
